package com.itheima.advantagesup.service;

import com.itheima.advantagesup.dto.SysroleDTO;
import com.itheima.advantagesup.entity.PageBean;
import com.itheima.advantagesup.vo.SysroleVO;

import java.util.List;

public interface SysroleService {
    PageBean findAllrole(Integer totalPage, Integer pageSize, String name);

    void addRole(SysroleDTO sysroleDTO);

    void delete(String id);

    SysroleVO getById(String id);

    void update(SysroleDTO sysroleDTO);

    List<SysroleDTO> findAll();
}
